#!/bin/bash

echo "当前脚本文件名称：$0"

echo "第1个输入参数：$1"

echo "第2个输入参数：$2"

echo "第10个输入参数不带括号：$10"

echo "第10个输入参数带括号：${10}"

echo "所有输入参数个数：$#"

echo "打印输出全部参数*：$*"

echo "打印输出全部参数#：$@"

echo "循环遍历输出*所有参数"
for item in "$*"
do	
	echo $item
done	

echo "循环遍历输出@所有参数"
for item in "$@"
do	
	echo $item
done	
